<template>
  <el-card shadow="never" class="index">
    <el-descriptions title="User Info">
      <el-descriptions-item label="Username">kooriookami</el-descriptions-item>
      <el-descriptions-item label="Telephone">18100000000</el-descriptions-item>
      <el-descriptions-item label="Place">Suzhou</el-descriptions-item>
      <el-descriptions-item label="Remarks">
        <el-tag size="small">School</el-tag>
      </el-descriptions-item>
      <el-descriptions-item label="Address"
        >No.1188, Wuzhong Avenue, Wuzhong District, Suzhou, Jiangsu
        Province</el-descriptions-item
      >
    </el-descriptions>
  </el-card>
</template>

<script setup>
/**
 * 引入
 */
// const route = route()

// const { id } = route.query

const info = ref(null)

/**
 * 定义：var
 */

/**
 * 方法：method
 */

const getDetailInfo =  async()=>{
try {
  // let res =await xxxx({  id })

  info.value = res.data

  // 然后渲染

} catch (error) {
  
}
}


onMounted(() => {
  getDetailInfo()
});
</script>

<style lang="scss" scoped></style>
